home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / etc / bash_completion.d / bind-utils < prev    next >
Encoding:
Text File  |  2010-11-16  |  498 b   |  24 lines

  1. # bash completion for nslookup
  2.  
  3. have nslookup &&
  4. _nslookup()
  5. {
  6.     local cur
  7.  
  8.     COMPREPLY=()
  9.     _get_comp_words_by_ref cur
  10.  
  11.     COMPREPLY=( $( compgen -P '-' -W 'all class= debug d2 domain= srchlist= \
  12.         defname search port= querytype= type= recurse retry root timeout vc \
  13.         ignoretc' -- "$cur" ) )
  14. } &&
  15. complete -F _nslookup nslookup
  16.  
  17. # Local variables:
  18. # mode: shell-script
  19. # sh-basic-offset: 4
  20. # sh-indent-comment: t
  21. # indent-tabs-mode: nil
  22. # End:
  23. # ex: ts=4 sw=4 et filetype=sh
  24.